package models;

import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.OneToMany;

import play.db.jpa.Blob;
import play.db.jpa.Model;

@Entity
public class Actor extends Model {

	public String name;
	public String biography;
	public Date borndate;
	public Blob photo;
	
	@OneToMany
	public List<Movie> films;
		
}
